package com.realjinge.entity;

import java.io.Serializable;

/**
 * 
 * @author realjinge
 *
 */
public class Answer implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer questionId;
	private String questionNo;
	private String answer;

	public Answer() {

	}

	public Answer(Integer questionId, String questionNo, String answer) {
		this.questionId = questionId;
		this.questionNo = questionNo;
		this.answer = answer;
	}

	public Answer(Integer id, Integer questionId, String questionNo, String answer) {
		this.id = id;
		this.questionId = questionId;
		this.questionNo = questionNo;
		this.answer = answer;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	@Override
	public String toString() {
		return "Answer [id=" + id + ", questionId=" + questionId + ", questionNo=" + questionNo + ", answer=" + answer
				+ "]";
	}

}
